Edit Task: SetTaskResourceRange
Format
SCHED / EditTask '<TaskName>' SetTaskResourceRange '<ResourceName>' <MinRangeApplies> <MinRangeValue> <MaxRangeApplies> <MaxRangeValue>
Description
The SetTaskResourceRange attribute under EditTask defines the resource range constraint for the specified resource for all the task's possibilities.
Parameters
Parameter | Description |
---|---|
ResourceName | A string of text in single quotes of the resource that is being defined within the command. |
MinRangeApplies | A Boolean value that determines if there is a minimum range constraint. |
MinRangeValue | A double value that defines the minimum range constraint value. |
MaxRangeApplies | A Boolean value that determines if there is a maximum range constraint. |
MaxRangeValue | A double value that defines the minimum range constraint value. |
Examples
Allow any minimum capacity, and set a maximum of 15 capacity units for all possibilities containing ResA in TaskA.
SCHED / EditTask 'TaskA' SetTaskResourceRange 'ResA' False -1 True 15